<%@page import="helpers.UrlHelper"%>
<%@page import="systems.RecentlyDomain"%>
<%@page import="java.util.List"%>
<%@page import="entities.Domain"%>
<%
Domain domain = (Domain) request.getAttribute("domain");
List<String> domains = RecentlyDomain.getDomains();

//Set content for seo
String title = domain.getDomain() + " - Redirect link";
String description = "Find more infomation about " + domain.getDomain() + " on other site.";
String keywords = domain.getDomain() + ",out link,redirect,redirect domain,domain,ip address,trace ip,tool ip";
String url = UrlHelper.getServerUrl(request) + "/out/" + domain.getDomain();
%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<jsp:include page="/layouts/header.jsp">
	<jsp:param name="title" value="<%=title %>" />
    <jsp:param name="description" value="<%=description %>" />
    <jsp:param name="keywords" value="<%=keywords %>" />
    <jsp:param name="ogtitle" value="<%=title %>" />
    <jsp:param name="ogurl" value="<%=url %>" />
    <jsp:param name="ogdescription" value="<%=description%>" />
</jsp:include>

	<div class="row main">
		<div class="span9">
  			<h3>Redirect for <%=domain.getDomain() %></h3>
	  		<h4>Visit <%=domain.getDomain() %></h4>
	  		<hr >
	  		
	  		<strong>Find more infomation about <%=domain.getDomain() %> on :</strong>
	  		<ul>
	  			<li>
					Showdomain - <a href="http://www.showdomain.net/d/<%=domain.getDomain() %>" target="_blank"><%=domain.getDomain() %></a>
				</li>
				<li>
					CheckSiteInfo - <a href="http://www.checksiteinfo.net/www/<%=domain.getDomain() %>" target="_blank"><%=domain.getDomain() %></a>
				</li>
				<li>
					SiteWhois - <a href="http://www.sitewhois.us/whois/<%=domain.getDomain() %>" target="_blank"><%=domain.getDomain() %></a>
				</li>
				<li>
					Showsite - <a href="http://www.showsite.us/www/<%=domain.getDomain() %>" target="_blank"><%=domain.getDomain() %></a>
				</li>
				<li>
					Keyword Rank - <a href="http://www.keywordrank.us/www/<%=domain.getDomain() %>" target="_blank"><%=domain.getDomain() %></a>
				</li>
				<li>
					CheckSafeSite - <a href="http://www.checksafesite.com/www/<%=domain.getDomain() %>" target="_blank"><%=domain.getDomain() %></a>
				</li>
			</ul>
			
		</div>
  		<div class="span3 elms-right">
  			<div class="recently-domain">
  				<h5>Recently Domain</h5>
  				<ul>
  					<% for (String name : domains) { %>
  					<li><a href="/domain/<%=name %>"><%=name %></a></li>
  					<% } %>
  				</ul>
  			</div>
  		</div>
	</div>
	    
<jsp:include page="/layouts/footer.jsp" />